package com.qf.dao;

import com.qf.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * created by 赵文韬 on 2022/3/4 11:53
 */
@Component
public class UserDaoImpl implements UserDao{
    private User user;
@Autowired
    public void setUser(User user) {
        this.user = user;
    }


    @Override
    public User getUser() {
        return user;
    }
}
